﻿namespace MvcXRepairAdmin.Interfaces
{
    using System.Collections.Generic;
    using MvcXRepairAdmin.ViewModel;
    using XRepair.Models;

    public interface IAccountService
    {
        IEnumerable<User> GetAllUsers();

        bool AddNewUser(User user);

        bool DeactivateUser(int userId);

        bool ReactivateUser(int userId);

        User GetUserInfoByCredentials(LoginViewModel model);
    }
}
